ThisBuild / version := "0.1.0-SNAPSHOT"

ThisBuild / scalaVersion := "3.6.3"

lazy val root = (project in file("."))
  .settings(
    name := "backend",
    idePackagePrefix := Some("com.nekonomics"),
    libraryDependencies ++= Seq(
      "dev.zio" %% "zio" % "2.1.16",
      "dev.zio" %% "zio-http" % "3.1.0",
      "dev.zio" %% "zio-json" % "0.7.39",
      "dev.zio" %% "zio-interop-cats" % "23.1.0.4",
      "dev.zio" %% "zio-logging" % "2.5.0",
      "dev.zio" %% "zio-logging-slf4j2" % "2.5.0",
      "ch.qos.logback" % "logback-classic" % "1.5.18",
      "com.lihaoyi" %% "sourcecode" % "0.4.2",
      "org.tpolecat" %% "doobie-core" % "1.0.0-RC9",
      "org.tpolecat" %% "doobie-hikari" % "1.0.0-RC9",
      "org.tpolecat" %% "doobie-postgres" % "1.0.0-RC9",
      "com.github.jwt-scala" %% "jwt-zio-json" % "10.0.4",
      "com.alipay.sdk" % "alipay-sdk-java" % "4.40.186.ALL"
    ).map(_.withSources())
  )
